﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;
using Volo.Abp.Domain.Entities.Auditing;

namespace ProductionManage.Models.DataModel
{
    /// <summary>
    /// 工作站工装夹具资源表
    /// </summary>
    public class WorksTationTool : Entity<int>
    {
       

        /// <summary>
        /// 工作站ID
        /// </summary>
        public int WorkstationId { get; set; }

        /// <summary>
        /// 类型ID
        /// </summary>
        public int ToolTypeId { get; set; }

        /// <summary>
        /// 类型编号
        /// </summary>
        public string ToolTypeCode { get; set; } = string.Empty;

        /// <summary>
        /// 类型名称
        /// </summary>
        public string ToolTypeName { get; set; } = string.Empty;

        /// <summary>
        /// 数量，默认为1
        /// </summary>
        public int Quantity { get; set; } = 1;

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; } = string.Empty;

        /// <summary>
        /// 预留字段1
        /// </summary>
        public string Attr1 { get; set; } = string.Empty;

        /// <summary>
        /// 预留字段2
        /// </summary>
        public string Attr2 { get; set; } = string.Empty;

        /// <summary>
        /// 预留字段3
        /// </summary>
        public int Attr3 { get; set; }

        /// <summary>
        /// 预留字段4
        /// </summary>
        public int Attr4 { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string CreatedBy { get; set; } = string.Empty;

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 更新人
        /// </summary>
        public string UpdatedBy { get; set; } = string.Empty;

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }
    }
}
